package com.deer.wms.system.manage.model.user;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.NotEmpty;

import java.util.List;

/**
 * 创建用户的信息类
 *
 *
 * @author guo
 * @date 2018/8/11
 */
@Getter
@Setter
public class UserInfoCreate {
    /**
     * 姓名
     */
    private String userName;

    /**
     * 登录密码
     */
    @NotEmpty(message = "登录密码不能为空")
    private String password;

    /**
     * 确认密码
     */
    private String confirmPassword;

    /**
     * 性别：1=先生；2=女士；
     */
    private Integer gender;

    /**
     * 手机号码
     */
//    @NotEmpty(message = "手机号码不能为空")
    private String mobile;

    /**
     * 电子邮箱
     */
    private String email;

    private Integer deptId;

    private Integer userId;

    private String account;

    private String jobNumber;
    /**
     * 跳转地址
     */
    private String url;

    private String urlName;

    private List<Integer> roleIds;

    private List<Integer> wareIds;

    private List<Integer> areaIds;

    private List<Integer> organizationIds;
}
